package com.swz.dcrm.db;


import androidx.room.Entity;
import androidx.room.Index;
import androidx.room.PrimaryKey;

@Entity(tableName = "car_model" ,indices = {@Index(value = {"carModelId"},
        unique = true)})
public class TbCarModel {

    @PrimaryKey(autoGenerate =true)
    private int id;
    private long carBrandId;
    private long carSeriesId;

    private long carModelId;
    private String carBrandDesc;
    private String carSeriesDesc;
    private String carModelDesc;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getCarBrandId() {
        return carBrandId;
    }

    public void setCarBrandId(long carBrandId) {
        this.carBrandId = carBrandId;
    }

    public long getCarSeriesId() {
        return carSeriesId;
    }

    public void setCarSeriesId(long carSeriesId) {
        this.carSeriesId = carSeriesId;
    }

    public long getCarModelId() {
        return carModelId;
    }

    public void setCarModelId(long carModelId) {
        this.carModelId = carModelId;
    }

    public String getCarBrandDesc() {
        return carBrandDesc;
    }

    public void setCarBrandDesc(String carBrandDesc) {
        this.carBrandDesc = carBrandDesc;
    }

    public String getCarSeriesDesc() {
        return carSeriesDesc;
    }

    public void setCarSeriesDesc(String carSeriesDesc) {
        this.carSeriesDesc = carSeriesDesc;
    }

    public String getCarModelDesc() {
        return carModelDesc;
    }

    public void setCarModelDesc(String carModelDesc) {
        this.carModelDesc = carModelDesc;
    }
}
